/**
 * Created by ClearLiang on 2019/2/25
 * Function:
 * Desc:
 */
 import React, {Component} from 'react';
 import {StyleSheet,Text} from 'react-native';

export default class MyComponent1 extends Component{
    // 属性检测
    static propTypes = {

    };
    // 默认值设置
    static defaultProps = {

    };
    // 初始化state
    constructor(props){
        super(props);
        this.state = {};
    }

    render(){
        return (
            <Text>Hello World</Text>
        );
    }
 }

 // 构建样式
const styles = StyleSheet.create({
    /*
    * *******    style属性    *******
    * flexDirection        水平：row   竖直：column
    * justifyContent       flex-start、center、flex-end、space-around、space-between以及space-evenly
    * alignItems           flex-start、center、flex-end、stretch。
    * */
});